ConfirmCallback

This callback is invoked when JavaScript confirmation dialog should be displayed. In this callback you can display standard Java modal dialog with the message that you can get from . Please note that it is not necessary to display a dialog in this callback.

Use the ok method to notify that the JavaScript dialog is closed with the "OK" action.

Use the cancel method to cancel the dialog.

If the callback throws an exception, the cancel method will be invoked.

Inheritors

Types

Link copied to clipboard
An action providing a response to the ConfirmCallback.
Link copied to clipboard
interface Params
The parameters of the ConfirmCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.